package com.micro.glszh.stat.exception;

import com.micro.glszh.stat.base.HttpCodeEnum;

/**
 * @author gaopengfei
 */
public class BusinessException extends BaseException {

    public BusinessException(HttpCodeEnum httpCodeEnum) {
        super(httpCodeEnum);
    }

    public BusinessException(String message) {
        super(HttpCodeEnum.INTERNAL_SERVER_ERROR.getCode(), message);
    }

    public BusinessException(Integer code, String message) {
        super(code, message);
    }


}
